﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ManageSlider.aspx.vb" Inherits="Arwani.Backend_ManageSlider" %>

<%@ Register src="Menu.ascx" tagname="Menu" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title> Arwani Backend Panel</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table border="0" cellpadding="2" cellspacing="2" width="100%" align="center">
        <tr>
            <td align="center">
                 
                
                <uc1:Menu ID="Menu1" runat="server" />
                 
                
            </td>

        </tr>
        <tr>
        <td align="right">
            <asp:LinkButton ID="lnkAddNewSlider" runat="server">Add New Slider</asp:LinkButton>
        </td>
        </tr>
        <tr>
        <td align="center">
            <asp:DataGrid ID="dgDivision" runat="server" AutoGenerateColumns="False" Width="750px" 
            AllowPaging="True" CellPadding="4" ForeColor="#333333" GridLines="None">
                        <AlternatingItemStyle BackColor="White" />
                        <Columns>
        
                            <asp:BoundColumn DataField="divisionid" HeaderText="Division ID"></asp:BoundColumn>
                            <asp:BoundColumn DataField="title" HeaderText="Title">   </asp:BoundColumn>
                            <asp:BoundColumn DataField="desc" HeaderText="Description"></asp:BoundColumn>
                            <asp:TemplateColumn>
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkEdit" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"divisionid") %>' CommandName="Edit">Edit</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:TemplateColumn>
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkDelete" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"divisionid") %>'  CommandName="Delete">Delete</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <EditItemStyle BackColor="#2461BF" />
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle Font-Bold="True" BackColor="#507CD1" ForeColor="White" />
                        <ItemStyle BackColor="#EFF3FB" />
                        <PagerStyle HorizontalAlign="Center" 
                            Mode="NumericPages" VerticalAlign="Middle" BackColor="#2461BF" 
                            ForeColor="White" />
                        <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    </asp:DataGrid>
        </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
